<?php

class tx_zboard_viewhelper_date extends tx_zlib_abstract_viewhelper
{

	public function date($tstamp)
	{
	    $format = $this->getHelper()->config('dateFormat');
        return strftime($format, $tstamp);
	}

}


if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/zboard/scripts/helpers/class.tx_zboard_viewhelper_date.php']) {
	include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/zboard/scripts/helpers/class.tx_zboard_viewhelper_date.php']);
}
